import ca.beq.util.win32.registry.*;

public class Test {
	
	public static void main(String[] args){
		
		//this file is used to read registry value
	    RegistryKey r = new RegistryKey(RootKey.HKEY_LOCAL_MACHINE,  "Software\\Microsoft\\Internet Explorer");   
	    if(r.hasValue("Version")) {
	      RegistryValue v = r.getValue("Version");   
	      System.out.println(v.getData().toString());   
	    }
	    if(r.hasValue("Build")) {
	        RegistryValue v = r.getValue("Build");   
	        System.out.println(v.getData().toString());   
	      }	
		
	}
}
